package a.f.g.a;

public class z
  implements lc
{
  protected double a;
  protected double c;
  protected int d = 2147483647;
  protected long e = 9223372036854775807L;
  public static int f;
  
  public z()
  {
    this(0.05D, 0.03D);
  }
  
  public z(double paramDouble1, double paramDouble2)
  {
    this.a = paramDouble1;
    this.c = paramDouble2;
  }
  
  public double a()
  {
    return this.a;
  }
  
  public void a(double paramDouble)
  {
    this.a = paramDouble;
  }
  
  public double c()
  {
    return this.c;
  }
  
  public void c(double paramDouble)
  {
    this.c = paramDouble;
  }
  
  public int d()
  {
    return this.d;
  }
  
  public void a(int paramInt)
  {
    boolean bool = xb.r;
    if (!bool)
    {
      if (paramInt == 0)
      {
        if (bool) {
          break label30;
        }
        this.d = 2147483647;
      }
    }
    else if (xb.q == 0) {
      return;
    }
    label30:
    this.d = paramInt;
  }
  
  public long e()
  {
    return this.e;
  }
  
  public void a(long paramLong)
  {
    boolean bool = xb.r;
    if (!bool)
    {
      if (paramLong == 0L)
      {
        if (bool) {
          break label33;
        }
        this.e = 9223372036854775807L;
      }
    }
    else if (xb.q == 0) {
      return;
    }
    label33:
    this.e = paramLong;
  }
  
  public double b(bb parambb)
  {
    boolean bool = xb.r;
    if (a(parambb)) {
      return 1.0D;
    }
    double d1 = 1.0D - this.a;
    double d2 = 1.0D - (parambb.d().i() - this.a) / d1;
    double d3 = 0.0D;
    if (((bool) || (this.d > 0)) && ((bool) || (this.d < 2147483647))) {
      d3 = parambb.e() / this.d;
    }
    double d4 = Math.max(d2, d3);
    double d5 = 0.0D;
    if (!bool)
    {
      if (this.e > 0L)
      {
        if (bool) {
          break label158;
        }
        if (this.e < 9223372036854775807L) {
          d5 = ((e)parambb.a()).jb() / this.e;
        }
      }
      d4 = Math.max(d4, d5);
    }
    label158:
    if (!bool)
    {
      if (d4 < 0.0D) {
        d4 = 0.0D;
      }
      if (bool) {}
    }
    else if (d4 > 1.0D)
    {
      d4 = 0.9999999000000001D;
    }
    return d4;
  }
  
  public boolean a(bb parambb)
  {
    boolean bool = xb.r;
    if (!bool) {
      if (parambb.d().m().j() >= 2)
      {
        if (bool) {
          break label104;
        }
        if (((e)parambb.a()).jb() <= this.e)
        {
          if (bool) {
            break label104;
          }
          if (parambb.e() < this.d)
          {
            if ((!bool) && (parambb.d().i() >= this.a)) {
              break label107;
            }
            if (bool) {
              break label104;
            }
          }
        }
      }
    }
    label104:
    label107:
    return parambb.d().j() < this.c;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.g.a.z

 * JD-Core Version:    0.7.0.1

 */